/*import java.util.Arrays;
import java.util.Date;*/

import com.baidu.www.Test1;

import java.util.Date;
//import java.sql.Date;
import java.util.Arrays;
import static java.lang.Math.*;
//import static java.lang.System.*;
/**
 * @Author 12629
 * @Description：
 */
//类的调用者
public class Test {

    public static void main(String[] args) {
        Test1 test1 = new Test1();
        //test1.data1;
    }


    public static void main3(String[] args) {
        double x = 30;
        double y = 40;
        // 静态导入的方式写起来更方便一些.
        double result = sqrt(pow(x, 2) + pow(y, 2));
        System.out.println(result);
    }

    public static void main2(String[] args) {
        int[] array = {1,2,3,4,5,6};
        Arrays.toString(array);

        Date date1 = new Date();
        Date date2 = new Date();

        /*java.util.Date date1 = new java.util.Date();
        java.sql.Date date2 = new java.sql.Date(1);*/

    }

    public static void main1(String[] args) {
        DateTest dateTest1 = new DateTest();
        //date1.year = 2024;
        dateTest1.setYear(2025);
        dateTest1.setMoth(7);
        dateTest1.setDay(14);
        System.out.println(dateTest1.getYear());
        System.out.println(dateTest1.getMoth());
        System.out.println(dateTest1.getDay());

       /* System.out.println("=================");
        Date date2 = new Date(2025,7,14);
        date2.printDate();*/
    }
}
